﻿using System.ServiceModel;
using DemoLib.Providers.Shared.Contracts;
using DemoLib.Providers.Shared.Models;

namespace DemoLib.Providers.Client
{
    public class OutputCacheServiceClient : ClientBase<IOutputCacheService>, IOutputCacheService
    {
        public OutputCache Get(string key)
        {
            return Channel.Get(key);
        }

        public OutputCache AddOrUpdate(OutputCache outputCache)
        {
            return Channel.AddOrUpdate(outputCache);
        }

        public void Remove(string key)
        {
            Channel.Remove(key);
        }
    }
}
